package edu.sctu.zhangwang.month201505.day20150505;

/**
 * Created by user10 on 2015/5/5.
 */
public class DogTwo extends Dog {
    @Override
    public void getinfor() {
        color = "蓝色";
        age = 2;
        action = "叫";
    }


    public void putch(){
        System.out.println("颜色："+color);
        System.out.println("年龄："+age);
        System.out.println("动作："+action);
    }

    public void come(Income income){
        income.action(color);

        income.action(action);
    }
}
